package printer;

/**
 * @author oldliu
 * @since 1.0
 */
public class TestPRinter {
    public static void main(String[] args) {
        Printer p=new Printer();
        p.setPrice(2400);
        p.setInk(new ColorInk());
        Paper paper=new Paper();
        paper.setWords(20);
        paper.setLines(25);
        p.setPaper(paper);
        p.print("helloword");
    }
}
